import request from '@/request/api'
//1、工作历标注
export function calendarMarkData(data) {
  return request({
    url: '/eam-service-order/orderAll/queryMonthTaskList',
    method: 'get',
    params: data,
    noLoading:true
  })
}
//2、指定日期对应的任务列表
export function dailyWorkData(data) {
  return request({
    url: '/eam-service-order/orderAll/queryDayTaskList',
    method: 'get',
    params: data,
    noLoading:true
  })
}
//3、待办事项接口
export function undoListData(data) {
  return request({
    url: "/eam-service-order/todo/getUndoGroup",
    method: "get",
    params: data,
    noLoading: true,
  });
}
//4、工作统计柱状图接口
export function jobAccountData(data) {
  return request({
    url: '/eam-service-order/JobStatistics/getJobStatistics',
    method: 'get',
    params: data,
    noLoading:true
  })
}
//5、不分页查询小组件卡片表列表
export function getCardList(data) {
  return request({
    url: '/eam-service-order/homeCard/queryList',
    method: 'get',
    params: data
  })
}
//6、批量新增小卡片表
export function batchAddCard(data) {
  return request({
    url: "/eam-service-order/homeCard/insertBatch",
    method: "post",
    data: data,
  });
}
//7、获取今日值班
export function getTodayDutyList(data) {
  return request({
    url: "/eam-service-operation/shift/staffs",
    method: "get",
    params: data,
    noLoading: true,
  });
}
//8、今日值班新需求接口2022-04-26
export function todayDutyData(data) {
  return request({
    url: "/eam-service-operation/shift/home",
    method: "get",
    params: data,
    noLoading: true,
  });
}